home
***
CD-ROM
|
disk
|
FTP
|
other
***
search
/
Magnum One
/
Magnum One (Mid-American Digital) (Disc Manufacturing).iso
/
d3
/
rettig.arc
/
TRSOURCE.EXE
/
_TR_SCAT.C
< prev
next >
Wrap
C/C++ Source or Header
|
1990-10-22
|
516b
|
30 lines
/*********
*
* _TR_SCAT.C
*
* by Tom Rettig
*
* Placed in the public domain by Tom Rettig Associates, 10/22/1990.
*
* Syntax: _tr_strcat(cp1, cp2)
* Return: char *cp1
* Note : cp1 must be long enough to hold resultant string
********/
#include "trlib.h"
char *_tr_strcat(outstr, instr)
char *outstr;
char *instr;
{
int i, j;
for (i = _tr_strlen(outstr), j = 0; instr[j] != NULLC; i++, j++)
{
outstr[i] = instr[j];
}
outstr[i] = NULLC;
return(outstr);
}